package com.rc.evcharger.service.rc;

import com.rc.evcharger.common.base.BaseService;
import com.rc.evcharger.mapper.rc.RcEnterpriseGainGradeRecordMapper;
import com.rc.evcharger.model.order.OrderInfo;
import com.rc.evcharger.model.rc.RcEnterpriseGainGradeRecord;
import com.rc.evcharger.model.rc.RcEnterpriseGainGradeRecordExample;
import com.rc.evcharger.vo.cost.UserLevelPriceResult;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author:
 * @Date:
 * @Description:
 */
public interface RcEnterpriseGainGradeRecordService extends BaseService<Long, RcEnterpriseGainGradeRecord, RcEnterpriseGainGradeRecordExample, RcEnterpriseGainGradeRecordMapper> {
    List<RcEnterpriseGainGradeRecord> listCurrentByMemberId(Long memberId);

    RcEnterpriseGainGradeRecord selectByEnterpriseMemberId(Long enterPriseId, BigDecimal allEnterpriseRechargeAmount);

    UserLevelPriceResult updateOrderInfo(OrderInfo orderInfo,Long enterPriseId, BigDecimal allEnterpriseRechargeAmount);
}
